package com.android.mmchat.xmlparser;

import java.util.Hashtable;

import com.android.mmchat.bean.BaseBean;

import android.content.Context;
import android.os.Handler;

public abstract class DataToObject {
	public DataToObject(Context c) {
	}

	public abstract BaseBean getMsgFromNetwork(Handler handler,
			String interfaceType, Hashtable<String, String> table) throws Exception;

	public abstract BaseBean getMsgFromCacheDB(Handler handler,
			String interfaceType, Hashtable<String, String> table) throws Exception;

	public abstract BaseBean getMsgDBandNetwork(Handler handler,
			String interfaceType, Hashtable<String, String> table) throws Exception;

	public abstract XmlHandlerBase implXmlHander();
}
